package com.pattern.prototype;

/**
 * @author 冯志立
 * @create 2019-10-19 10:22
 */
public class Client {
    public static void main(String[] args) {
        //传统方法
        Sheep sheep = new Sheep("tom", "white", 10);
        Sheep sheep1 = new Sheep(sheep.getName(), sheep.getColor(), sheep.getAge());
    }
}
